package com.zly.framework.rbac.properties;

import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties("sys.auth.jwt")
public class JwtProperties {
    @SchemaProperty(name = "JWT过期时间默认30天")
    private Long expire = 30L;
    @SchemaProperty(name = "JWT密钥")
    private String secret;
    @SchemaProperty(name = "认证信息请求头参数默认 Authorization")
    private String header = "Authorization";
}
